package lab01;

import java.util.Scanner;

/**
 * Created by Administrator on 2017/12/26.
 */
public class Test07_1 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个数：");
        int score=scanner.nextInt();
        if (score<60){
            System.out.println("成绩的等级为D");
        }
        else if (score>=60&&score<70){
            System.out.println("成绩的等级为C");
        }
        else if (score>=70&&score<85){
            System.out.println("成绩的等级为B");
        }
        else if (score>=85&&score<=100){
            System.out.println("成绩的等级为A");
        }
    }
}
